import { Spin } from "antd";
function Loading(props){
    const {open, className} = props;
    return <div className={ `loading ${open?active: ""} ${className}` }>
        <Spin className="context" tip="Loading..."></Spin>
    </div>;
}
export default Loading;